package com.yitao.client.dto.user;

import com.skipper.base.dto.BaseDto;
import io.swagger.annotations.ApiModelProperty;


import java.util.Date;


public class UserAddressManagementDto extends BaseDto {

    private static final long serialVersionUID = -8314626492457867937L;
    /**
     * id	
     *
     * @mbggenerated
     */
    @ApiModelProperty("id")
    private Long id;

    /**
     * user_id	用户id
     *
     * @mbggenerated
     */
    @ApiModelProperty("用户id")
    private Long userId;

    /**
     * nick_name	收货人姓名(不是用户昵称)
     *
     * @mbggenerated
     */
    @ApiModelProperty("收货人姓名")
    private String nickName;

    /**
     * phone	收货电话
     *
     * @mbggenerated
     */
    @ApiModelProperty("收货手机号")
    private String phone;

    /**
     * is_default	是否默认收货地址(0: 否 1:是)
     *
     * @mbggenerated
     */
    @ApiModelProperty("是否为默认收货地址(false: 否 true:是)")
    private Boolean isDefault;

    /**
     * address	详细地址
     *
     * @mbggenerated
     */
    @ApiModelProperty("详细地址")
    private String address;

    /**
     * create_time	创建时间
     *
     * @mbggenerated
     */
    @ApiModelProperty("创建时间")
    private Date createTime;

    @ApiModelProperty("创建时间-前端展示")
    private String createTimeString;

    /**
     * 省
     */
    @ApiModelProperty("省id")
    private Integer provinceId;

    /**
     * 市
     */
    @ApiModelProperty("市id")
    private Integer cityId;

    /**
     * 区
     */
    @ApiModelProperty("区id")
    private Integer areaId;

    /**
     * 省-名称
     */
    @ApiModelProperty("省")
    private String province;

    /**
     * 市-名称
     */
    @ApiModelProperty("市")
    private String city;

    /**
     * 区-名称
     */
    @ApiModelProperty("区")
    private String area;

    /**
     * 地址是否失效
     */
    @ApiModelProperty("地址是否失效")
    private Boolean isInvalid;

    /**
     *  姓，境外客户使用
     *  @mbggenerated
     */
    @ApiModelProperty("姓-境外客户使用")
    private String surname; // 2020.03.24

    /**
     *  国家-名称
     *  @mbggenerated
     */
    @ApiModelProperty("国家-名称")
    private String country; // 2020.03.24

    /**
     *  国家
     *  @mbggenerated
     */
    @ApiModelProperty("国家id")
    private Integer countryId; // 2020.03.24

    /**
     *  邮编，境外客户使用
     *  @mbggenerated
     */
    @ApiModelProperty("邮编-境外客户使用")
    private String zipCode; // 2020.03.24

    /**
     *  是否境外收货地址 false或者null都为国内
     *  @mbggenerated
     */
    @ApiModelProperty("是否境外收货地址 true:境外收货地址 false:境内收货地址")
    private Boolean addressType; // 2020.03.24

    public String getSurname() {
        return surname;
    }

    public void setSurname(String surname) {
        this.surname = surname;
    }

    public String getCountry() {
        return country;
    }

    public void setCountry(String country) {
        this.country = country;
    }

    public Integer getCountryId() {
        return countryId;
    }

    public void setCountryId(Integer countryId) {
        this.countryId = countryId;
    }

    public String getZipCode() {
        return zipCode;
    }

    public void setZipCode(String zipCode) {
        this.zipCode = zipCode;
    }

    public Boolean getAddressType() {
        return addressType;
    }

    public void setAddressType(Boolean addressType) {
        this.addressType = addressType;
    }

    public Boolean getIsInvalid() {
        return isInvalid;
    }

    public void setIsInvalid(Boolean isInvalid) {
        this.isInvalid = isInvalid;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public String getNickName() {
        return nickName;
    }

    public void setNickName(String nickName) {
        this.nickName = nickName;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public Boolean getDefault() {
        return isDefault;
    }

    public void setDefault(Boolean aDefault) {
        isDefault = aDefault;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public String getCreateTimeString() {
        return createTimeString;
    }

    public void setCreateTimeString(String createTimeString) {
        this.createTimeString = createTimeString;
    }

    public Integer getProvinceId() {
        return provinceId;
    }

    public void setProvinceId(Integer provinceId) {
        this.provinceId = provinceId;
    }

    public Integer getCityId() {
        return cityId;
    }

    public void setCityId(Integer cityId) {
        this.cityId = cityId;
    }

    public Integer getAreaId() {
        return areaId;
    }

    public void setAreaId(Integer areaId) {
        this.areaId = areaId;
    }

    public String getProvince() {
        return province;
    }

    public void setProvince(String province) {
        this.province = province;
    }

    public String getCity() {
        return city;
    }

    public void setCity(String city) {
        this.city = city;
    }

    public String getArea() {
        return area;
    }

    public void setArea(String area) {
        this.area = area;
    }
}